entry: Set up text drag icon within drag_begin()
authorCarlos Garnacho <carlosg@gnome.org>
Thu, 21 May 2015 09:34:58 +0000 (11:34 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Tue, 26 May 2015 16:05:36 +0000 (18:05 +0200)
commit9ff5d2e1accaed0babe54143a376f7f05704a2d9
tree9ee587833095282b028a1efa6ec42aa4413058fb
parent3e60650fa8479d507b31965d09ee521ba4e91182
entry: Set up text drag icon within drag_begin()

the drag_begin() vmethod is meant for this, and the internal DnD code
will set up a drag icon if ::drag_begin didn't do so, which means
we are first getting a "default" icon, and then replacing it with the
text surface.

This is completely harmless in X11, but causes issues on wayland as
the DnD icon window is expected to remain unchanged during DnD there.

https://bugzilla.gnome.org/show_bug.cgi?id=748763
gtk/gtkentry.c